FROM nginx:1.23.0-alpine

RUN mkdir -p /etc/nginx/conf/ssl

ADD class_counrse_frontend-mater/nginx.conf /etc/nginx/nginx.conf

ADD frontend/frontend-course.zhihzhong.xyz.key /etc/nginx/conf/ssl/frontend-course.zhihzhong.xyz.key
ADD frontend/frontend-course.zhihzhong.xyz.pem /etc/nginx/conf/ssl/frontend-course.zhihzhong.xyz.pem

EXPOSE 80
